package com.zsrd.self.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Xxx
 * @since 2024-04-01
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class SelfCurrType implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    private String name;

    private Long pid;

    private Integer sort;

    private Integer level;

    @TableField(exist = false)
    private List<SelfCurrType> children;


}
